package com.hdu.pyl.pojo;

import lombok.Data;

import java.sql.Timestamp;
//新闻模型
@Data
public class News {
    //id
    private Integer id;
    //文章标题
    private String title;
    //文章标签
    private NewsTags newsTags;
    //文章发布时间
    private Timestamp postTime;
    //文章游览量
    private int viewNum;
    //作者id
    private Integer authorId;
}
